import { defineStore } from "pinia";

export const useDark = defineStore("dark", {
  state: () => ({
    isDark: false,
  }),
  actions: {
    toggleDark() {
      this.isDark =!this.isDark;
    },
  },
});